package com.example.automanagement.service;

import com.example.automanagement.entity.AutoDepartmentApproval;
import com.example.automanagement.entity.AutoGeneralApproval;
import com.example.automanagement.views.AutoArchiveStatus;
import com.example.automanagement.views.DriverArchiveStatus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AutoApprovalService {
    void addAutoDepartmentApproval(AutoDepartmentApproval approval);

    void addAutoGeneralApproval(AutoGeneralApproval approval);

    List<AutoArchiveStatus> getFreePlateNum(String autoType);
    List<DriverArchiveStatus> getFreeDrivers();

    AutoGeneralApproval getAutoGeneralApproval(String orderId);

    AutoDepartmentApproval getAutoDepartmentApproval(String orderId);
}
